  <!-- Slideshow-->
  <div id="slideshow">
    <div id="slidesContainer">
      <div class="panel">
 	    <div class="container">
          <div class="wt-rotator">
            <div class="screen">
              <noscript><img src="{ci_config name='base_url'}themes/images/tmp/1.jpg" alt="1"></noscript>
            </div>
            <div class="c-panel">
              <div class="buttons">
                <div class="prev-btn"></div>
                <div class="play-btn"></div>    
                <div class="next-btn"></div>               
              </div>
            <div class="thumbnails">
            <ul>
                <li>
                  <a href="{ci_config name='base_url'}themes/images/tmp/1.jpg" title="3D abstract art"><img src="timthumb/timthumb.php?src=../themes/images/tmp/1.jpg&q=100&h=45&w=45" alt="1"></a>
                  <a href="#" target="_blank"></a>                        
                  <div style="left:5px; top:94px; width:336px; height:0;"> 
                    <h1>Music Extravaganza</h1>
                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
                    Ut tincidunt mi a lectus gravida pulvinar. Aliquam viverra cursus felis, 
                    lobortis elementum tortor malesuada non. 
                    Suspendisse hendrerit tortor a mauris auctor eu sodales metus laoreet. </div>
                </li>
                <li>
                  <a href="{ci_config name='base_url'}themes/images/tmp/2.jpg" title="san francisco"><img src="timthumb/timthumb.php?src=../themes/images/tmp/2.jpg&q=100&h=45&w=45" alt="2"></a>
                  <a href="#" target="_blank"></a>
                  <div style="left:5px; top:36px; width:336px; height:0; color:#000; background-color:#FFF"> 
                    <h1 style="color:#0CF">Cambinocot Church Anniversary</h1>
                    Lorem ipsum ad vis puto molestie, ex est simul docendi, ei ius decore patrioque complectitur. 
                    Per te dolor necessitatibus. Duo quis modo in, reque sonet an pri. In lorem fugit impedit eum, pro docendi rationibus reformidans et. 
                    Cum ei ludus feugait luptatum.</div>                                                  	
                </li>
                <li>
                  <a href="{ci_config name='base_url'}themes/images/tmp/3.jpg" title="3D abstract art"><img src="timthumb/timthumb.php?src=../themes/images/tmp/3.jpg&q=100&h=45&w=45" alt="3"></a>   
                  <a href="#" target="_blank"></a>
                  <div style="left:5px; top:36px; width:336px; height:0; color:#000; background-color:#FFF">
                    <h1 style="color:#0CF">Cambinocot Church Anniversary</h1>
                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
                    Ut tincidunt mi a lectus gravida pulvinar. Aliquam viverra cursus felis, 
                    lobortis elementum tortor malesuada non. 
                    Suspendisse hendrerit tortor a mauris auctor eu sodales metus laoreet. </div>                                                          	                   
                </li>
                <li>
                  <a href="{ci_config name='base_url'}themes/images/tmp/4.jpg" title="rainbow bridge"><img src="timthumb/timthumb.php?src=../themes/images/tmp/4.jpg&q=100&h=45&w=45" alt="4"></a>                  
                  <a href="#" target="_blank"></a>
                  <div style="left:5px; top:36px; width:350px; height:0;"> 
                    <h1>OMSIFY: Voice of Triumph Concert</h1>
                    Lorem ipsum ad vis puto molestie, ex est simul docendi, ei ius decore patrioque complectitur. 
                    Per te dolor necessitatibus. Duo quis modo in, reque sonet an pri. In lorem fugit impedit eum, pro docendi rationibus reformidans et. 
                    Cum ei ludus feugait luptatum.</div>                                          	                          
                </li>
                <li>
                  <a href="{ci_config name='base_url'}themes/images/tmp/5.jpg" title="lion"><img src="timthumb/timthumb.php?src=../themes/images/tmp/5.jpg&q=100&h=45&w=45" alt="5"></a>        
                  <a href="#" target="_blank"></a>
                  <div style="left:5px; top:94px; width:336px; height:0;"> 
                    <h1>OMSIFY: Voice of Triumph Concert</h1>
                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
                    Ut tincidunt mi a lectus gravida pulvinar. Aliquam viverra cursus felis, 
                    lobortis elementum tortor malesuada non. 
                    Suspendisse hendrerit tortor a mauris auctor eu sodales metus laoreet. </div>                                                                     
                </li>     
                <li>
                  <a href="{ci_config name='base_url'}themes/images/tmp/6.jpg" title="highway"><img src="timthumb/timthumb.php?src=../themes/images/tmp/6.jpg&q=100&h=45&w=45" alt="6"></a>                    
                  <a href="#" target="_blank"></a>
                  <div style="left:659px; top:36px; width:336px; height:0;"> 
                    <h1>TFC 5th Church Anniversary</h1>
                    Lorem ipsum ad vis puto molestie, ex est simul docendi, ei ius decore patrioque complectitur. 
                    Per te dolor necessitatibus. Duo quis modo in, reque sonet an pri. In lorem fugit impedit eum, pro docendi rationibus reformidans et. 
                    Cum ei ludus feugait luptatum.</div>                             	                           
                </li>
                <li>
                  <a href="{ci_config name='base_url'}themes/images/tmp/7.jpg" title="hong kong"><img src="timthumb/timthumb.php?src=../themes/images/tmp/7.jpg&q=100&h=45&w=45" alt="7"></a>                    
                  <a href="#" target="_blank"></a>
                  <div style="left:5px; top:36px; width:350px; height:0;"> 
                    <h1>TFC 5th Church Anniversary</h1>
                    Lorem ipsum ad vis puto molestie, ex est simul docendi, ei ius decore patrioque complectitur. 
                    Per te dolor necessitatibus. Duo quis modo in, reque sonet an pri. In lorem fugit impedit eum, pro docendi rationibus reformidans et. 
                    Cum ei ludus feugait luptatum.</div>                             	                           
                </li>
                <li>
                  <a href="{ci_config name='base_url'}themes/images/tmp/8.jpg" title="aquarium"><img src="timthumb/timthumb.php?src=../themes/images/tmp/8.jpg&q=100&h=45&w=45" alt="8"></a>                    
                  <a href="#" target="_blank"></a>
                  <div style="left:659px; top:36px; width:336px; height:0; color:#000; background-color:#FFF"> 
                    <h1 style="color:#0CF">TFC 5th Church Anniversary</h1>
                    Lorem ipsum ad vis puto molestie, ex est simul docendi, ei ius decore patrioque complectitur. 
                    Per te dolor necessitatibus. Duo quis modo in, reque sonet an pri. In lorem fugit impedit eum, pro docendi rationibus reformidans et. 
                    Cum ei ludus feugait luptatum.</div>                           	                           
                </li>     
              </ul>
            </div>     
          </div>
        </div>
      </div>
    </div>
  </div>	
</div>
  <!--Slideshow-->

  <br>

  <!--Articles-->
  <div id="articleblock">
    <div id="article-container-one">
      <div class="articles">
        <div class="article-icon"><img src="{ci_config name='base_url'}themes/images/users.png" width="80" height="80" alt="users"></div>
        <div class="article-div">
          <div class="article-title">Missions Statement</div>
          <div class="article-contents">The purpose of the United Pentecostal Church International is to carry the whole gospel to the whole world by the whole church...
          </div>
        </div>  
      </div>
    </div>
    
    <div id="article-container-two">
      <div class="articles">
        <div class="article-icon"><img src="{ci_config name='base_url'}themes/images/pen.png" width="80" height="80" alt="pen"></div>
        <div class="article-div">
          <div class="article-title">District Presbyter's Desk</div>
          <div class="article-contents">Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in.
          </div>
        </div>  
      </div>
    </div>
    
    <div id="article-container-three">
      <div class="articles">
        <div class="article-icon"><img src="{ci_config name='base_url'}themes/images/bookopen.png" width="80" height="80" alt="bookpen"></div>
        <div class="article-div">
          <div class="article-title">News and Updates</div>
          <div class="article-contents">In voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur occaecat cupidatat non proident, in culpas officia deserunt.
          </div>
        </div>  
      </div>
    </div>
  </div>
  <!--Articles-->
  
  <!--Blog-->
  <div class="container-main-blog">
  {if isset($article_1)}
    <div class="main-blog">
     <h2><a class="h2" href="{$article_1->getArticleTitleURL()}">{$article_1->article_title}</a></h2>
      <div class="main-blog-infobar">by {$article_1->getArticleAuthor()} on {$article_1->article_date_created->format( 'l F j, Y' )} with <a class="author" href="{$article_1->getArticleTitleURL()}#disqus_thread"></a></div>
      <div class="main-blog-icon"><img src="{ci_config name='base_url'}themes/images/blogbig.png" width="185" height="125" alt="blogbig"></div>
      <div class="main-blog-contents">{$article_1->getArticleTextExcerpts()|nl2br|utf}
      <br><br>
      <span class="arrow"><a class="continue" href="{$article_1->getArticleTitleURL()}">Continue Reading &rarr;</a></span>
      </div>
    </div>
  <br><br>
  {/if}
   <div class="small-blog-container">
   {if isset($article_2)}
    <div class="small-blog-left"> 
      <div class="small-blog-icon"><img src="{ci_config name='base_url'}themes/images/blogsmall.png" alt="blogsmall"></div>
      <div class="small-blog-title">
          <h3><a class="h3" href="{$article_2->getArticleTitleURL()}">{$article_2->article_title}</a></h3>
          <br>
      </div>
      <div class="small-blog-contents">
      <div class="main-blog-infobar">on <span class="date">{$article_2->article_date_created->format( 'F j, Y' )}</span> by <span class="author">{$article_2->getArticleAuthor()}</span></div>
      {$article_2->getArticleTextExcerpts()|nl2br|utf}
      <br><br>
      <span class="arrow"><a class="continue" href="{$article_2->getArticleTitleURL()}">Continue Reading &rarr;</a></span> 
      </div>
    </div>
    {/if}
    {if isset($article_3)}
    <div class="small-blog-right"> 
      <div class="small-blog-icon"><img src="{ci_config name='base_url'}themes/images/blogsmall1.png" alt="blogsmall1"></div>
      <div class="small-blog-title">
          <h3><a class="h3" href="{$article_1->getArticleTitleURL()}">{$article_3->article_title}</a></h3>
          <br>
      </div>
      <div class="small-blog-contents">
      <div class="main-blog-infobar">on <span class="date">{$article_3->article_date_created->format( 'F j, Y' )}</span> by <span class="author">{$article_3->getArticleAuthor()}</span></div>
      {$article_3->getArticleTextExcerpts()|nl2br|utf}
      <br><br>
      <span class="arrow"><a class="continue" href="{$article_3->getArticleTitleURL()}">Continue Reading &rarr;</a></span> 
      </div>
    </div>
    {/if}
   </div>  
  </div>  
  <!--Blog-->
  
  <!--SideLinks-->
  <div id="sidelinkcontainer">

    <div class="sidelink-events">
      <h4>EVENTS</h4>
      <div class="linkborder">
      <ul class="eventslist">
          {foreach from=$events_navlinks item='event_navlink'}
          <li><a class="continue" href="{$event_navlink->navlink_href}">{$event_navlink->navlink_name}</a></li>
          {/foreach}
      </ul>
      </div>
    </div>
    
    <div class="sidelink-department">
      <h4>DEPARTMENTS</h4>
      <div class="linkborder">
      <div class="departmentpix"><img src="{ci_config name='base_url'}themes/images/childrendep.png" /></div>
      <div class="departmentpix"><img src="{ci_config name='base_url'}themes/images/youthdep.png" /></div>
      <div class="departmentpix"><img src="{ci_config name='base_url'}themes/images/ladep.png" /></div>
      <div class="departmentpix"><img src="{ci_config name='base_url'}themes/images/mensdep.png" /></div>
      </div>
    </div>
    
    <div class="sidelink-twitter">
      <h4>TWITTER FEEDS (<a href="http://twitter.com/{$twitterId}" title="@{$twitterId} on Twitter" target="_blank">@{$twitterId}</a>)</h4>
      <div class="linkborder">
{if isset($tweets)}
	<br>
    {foreach from=$tweets item="tweet"}
        <div class="twittext">
        {$tweet->text}
            <div class="twitlinks">
            <a href="http://twitter.com/{$tweet->user->screen_name}/status/{$tweet->id_str}" target="_blank">{$tweet->elapsedtime}</a> &bull;
            <a href="http://twitter.com/intent/tweet?in_reply_to={$tweet->id_str}" target="_blank">reply</a> &bull; 
            <a href="http://twitter.com/intent/retweet?tweet_id={$tweet->id_str}" target="_blank">retweet</a> &bull;
            <a href="http://twitter.com/intent/favorite?tweet_id={$tweet->id_str}" target="_blank">favorite</a>
            </div>
        </div>
    {/foreach}
{else}
    <p class="twittext">No tweets fetched</p>
    
      <!--temporarytweets-->
      <div class="twittext">
        It seems that everything is working. Just a little css formatting needed. @ryandupay will take care of it.
            <div class="twitlinks">
            <a href="http://twitter.com/NaClOrg/status/94721803078995968" target="_blank">5 days ago</a> &bull;
            <a href="http://twitter.com/intent/tweet?in_reply_to=94721803078995968" target="_blank">reply</a> &bull; 
            <a href="http://twitter.com/intent/retweet?tweet_id=94721803078995968" target="_blank">retweet</a> &bull;
            <a href="http://twitter.com/intent/favorite?tweet_id=94721803078995968" target="_blank">favorite</a>
             </div>
      </div>             
      <div class="twittext">
        Testing tweet for <a href = "http://evd.b3rx.co.cc" target="_blank">http://evd.b3rx.co.cc</a> tweet fetcher.
            <div class="twitlinks">
            <a href="http://twitter.com/NaClOrg/status/94721803078995968" target="_blank">5 days ago</a> &bull;
            <a href="http://twitter.com/intent/tweet?in_reply_to=94721803078995968" target="_blank">reply</a> &bull; 
            <a href="http://twitter.com/intent/retweet?tweet_id=94721803078995968" target="_blank">retweet</a> &bull; 
            <a href="http://twitter.com/intent/favorite?tweet_id=94721803078995968" target="_blank">favorite</a>
             </div>
      </div>               
     <div class="twittext">
        So the site is facing up quite well. Coded the article part of the system. We still have a long way to go, but we'll get there.
            <div class="twitlinks">
            <a href="http://twitter.com/NaClOrg/status/94721803078995968" target="_blank">5 days ago</a> &bull;
            <a href="http://twitter.com/intent/tweet?in_reply_to=94721803078995968" target="_blank">reply</a> &bull; 
            <a href="http://twitter.com/intent/retweet?tweet_id=94721803078995968" target="_blank">retweet</a> &bull; 
            <a href="http://twitter.com/intent/favorite?tweet_id=94721803078995968" target="_blank">favorite</a>
             </div>
      </div>  
     <!--temporarytweets-->

{/if}      
      <div></div>
    </div>
  </div>
  </div>
  <!--SideLinks-->  

<script type="text/javascript">
//<![CDATA[
(function()
{
	var links = document.getElementsByTagName('a');
	var query = '?';
	for(var i = 0; i < links.length; i++)
	{
		if(links[i].href.indexOf('#disqus_thread') >= 0)
		{
			query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
		}
	}
	document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/evd1/get_num_replies.js' + query + '"></' + 'script>');
})();
//]]>
</script>